# -*- coding:utf-8 -*-
#  使用response.content()保存图片、歌曲和短视频
import requests

image_url = "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2189265085.webp"


resp = requests.get(image_url).content
with open("./images/" + "image.png", "wb") as f:
    f.write(resp)
    print("保存成功")
